package eteam.aps.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import eteam.aps.common.entity.ParentEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.time.LocalDateTime;

/**
 * 已扫描工序;已扫描工序
 *
 * @author LiuLei
 */
@ApiModel(value = "ScanProAlready", description = "已扫描工序")
@TableName("zn_scan_pro_already")
public class ScanProAlready extends ParentEntity {

    /**
     * 产品编号;产品编号
     */
    @TableField("FBarCode")
    @ApiModelProperty(name = "产品编号", notes = "产品编号")
    private String fBarCode;

    /**
     * 工序编号;工序编号
     */
    @TableField("FScaPro")
    @ApiModelProperty(name = "工序编号", notes = "工序编号")
    private String fScaPro;

    /**
     * 工序名称;工序名称
     */
    @TableField("FProName")
    @ApiModelProperty(name = "工序名称", notes = "工序名称")
    private String fProName;

    /**
     * 操作员;操作员
     */
    @TableField("FOperator")
    @ApiModelProperty(name = "操作员", notes = "操作员")
    private String fOperator;

    /**
     * 物料编号;品号
     */
    @TableField("FInvCode")
    @ApiModelProperty(name = "物料编号", notes = "品号")
    private String fInvCode;

    /**
     * 物料条码;物料条码
     */
    @TableField("FInvBarCode")
    @ApiModelProperty(name = "物料条码", notes = "物料条码")
    private String fInvBarCode;

    /**
     * 制作时间;制作时间
     */
    @TableField("FMakeTime")
    @ApiModelProperty(name = "制作时间", notes = "制作时间")
    private LocalDateTime fMakeTime;

    /**
     * 状态;状态【-1 拆机，1 正常】
     */
    @TableField("FProState")
    @ApiModelProperty(name = "状态", notes = "状态【-1 拆机，1 正常】")
    private int fProState;

    public ScanProAlready() {
    }

    public ScanProAlready(String fBarCode, String fScaPro, String fProName, String fOperator, String fInvCode, String fInvBarCode, LocalDateTime fMakeTime, int fProState) {
        this.fBarCode = fBarCode;
        this.fScaPro = fScaPro;
        this.fProName = fProName;
        this.fOperator = fOperator;
        this.fInvCode = fInvCode;
        this.fInvBarCode = fInvBarCode;
        this.fMakeTime = fMakeTime;
        this.fProState = fProState;
    }

    public String getfBarCode() {
        return fBarCode;
    }

    public void setfBarCode(String fBarCode) {
        this.fBarCode = fBarCode;
    }

    public String getfScaPro() {
        return fScaPro;
    }

    public void setfScaPro(String fScaPro) {
        this.fScaPro = fScaPro;
    }

    public String getfProName() {
        return fProName;
    }

    public void setfProName(String fProName) {
        this.fProName = fProName;
    }

    public String getfOperator() {
        return fOperator;
    }

    public void setfOperator(String fOperator) {
        this.fOperator = fOperator;
    }

    public String getfInvCode() {
        return fInvCode;
    }

    public void setfInvCode(String fInvCode) {
        this.fInvCode = fInvCode;
    }

    public String getfInvBarCode() {
        return fInvBarCode;
    }

    public void setfInvBarCode(String fInvBarCode) {
        this.fInvBarCode = fInvBarCode;
    }

    public LocalDateTime getfMakeTime() {
        return fMakeTime;
    }

    public void setfMakeTime(LocalDateTime fMakeTime) {
        this.fMakeTime = fMakeTime;
    }

    public int getfProState() {
        return fProState;
    }

    public void setfProState(int fProState) {
        this.fProState = fProState;
    }
}